﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="http://1stjs.googlecode.com/svn/trunk/fw4/" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</meta>
<title>F.dialog演示</title>
<style type="text/css">
html,body{width:100%; height:100%;}
</style>
<script type="text/javascript" src="1st.js"></script>
</head>
<body>
<select onchange="dialog.chgSkin(this.value)">
	<option value="qq">QQ</option>
	<option value="simple">Simple</option>
	<option value="simple_gray">SimpleGray</option>
	<option value="vista">VISTA</option>
	<option value="dmm_green">dmmGreen</option>
	<option value="bluebar">bluebar</option>
	<option value="black">black</option>
</select>

<input type="button" id="btn_open" value="打开窗口" />
<div id="dialog_box" class="dialog"></div>

<select style="position:absolute;right:50px;bottom:50px;">
    <option>1111111111111</option>
    <option>1111111111111</option>
    <option>1111111111111</option>
</select>

<script type="text/javascript">
var dialog = F.dialog({
	skin : F().first().val(),
	title : "温馨提示",
	//content : '您有1封消息<br/><br/><a href="http://www.baidu.com" target="_blank">今天请我吃饭哈</a>',
	url : "http://www.baidu.com",
	width : 500,
	height : 300,
	yes:function(){alert("ok");return true;},
	no:1
}).trigger("btn_open");
</script>
</body>
</html>